package main

import (
	"singo/conf"
	_ "singo/docs"
	"singo/server"
)

// @title xd-work swagger
// @version 1.0.86
// @description xd-work service

// @contact.name 陈宇汐文
// @contact.email inpm.cy@gmail.com

// @host localhost:3001

func main() {
	// 从配置文件读取配置
	conf.Init()

	// 装载路由
	r := server.NewRouter()
	r.Run(":3001")
}

